package com.example.mapper;


import com.example.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author Administrator
 * 20201223
 */
@Mapper
public interface UserMapper {
    List<User> findAll(); //获取所有用户列表

    List<User> checkUser(Map<String, Object> params); //用户登录信息

    void deleteUser(Map<String, Object> params);

    void insertUser(Map<String, Object> params);

    void modUserState(Map<String, Object> params);

}
